import Bullet from "../Bullet";
import Player from "../Player";
import AngleUtils from "../Trigon/AngleUtils";
import { Gun, gunState, GunState } from "./gun";

const { ccclass, property } = cc._decorator;

@ccclass
export class Pistol extends cc.Component implements Gun{
	@property(cc.Prefab)
	bulletPrefab: cc.Prefab | null = null;

	type: string='pistol';
	autoFire: boolean=false;
	delay: number=0;
	damage:number=1;
	
	
}